package com.prj.ufdm.demo.mongdao;

import java.util.List;
import org.springframework.data.mongodb.repository.MongoRepository;
import com.prj.ufdm.demo.model.mongo.Employee;

public interface  EmployeeRepository extends MongoRepository<Employee, Long> {

	Employee findByName(String name);
    List<Employee> findByAgeGreaterThan(int age);
    

}
